package User;
import Operation.Operation;
import book.BookList;

abstract public class User{
    protected String name;
    public Operation[] operations;
    public User(String name){
          this.name=name;
    }

    public abstract int menu();

    public void dooperation(int choice, BookList bookList){
        operations[choice].work(bookList);
    }


}
